import { axiosGet, axiosPost, axiosPut, axiosDelete } from '/@/api/RequestBase';
import { SqlSugarPagedList } from '/@/api/BaseDto';
import { OptCaoZuoPageInput } from './dto/OptCaoZuoPageInput';
import { OptCaoZuoOutput } from './dto/OptCaoZuoOutput';

export type { OptCaoZuoPageInput, OptCaoZuoOutput };

const service = 'OptCaoZuo/'; // 要写后面的斜杠, 不要写前面的斜杠

export const OptCaoZuoApi = {
	page: (data: OptCaoZuoPageInput) => {
		return axiosPost<SqlSugarPagedList<OptCaoZuoOutput>>(service + 'page', data);
	},
};
